package service.paymentorder;

import java.util.List;

import persistence.paymentorder.PaymentOrderDao;

import dao.PaymentOrder;

;

public class PaymentOrderDaoService implements PaymentOrderService {

	private PaymentOrderDao dao;

	@Override
	public void deletePaymentOrder(Integer id) {
		dao.deletePaymentOrder(id);
	}

	@Override
	public List<PaymentOrder> getAllPaymentOrder() {
		return dao.getAllPaymentOrder();
	}

	@Override
	public PaymentOrder getPaymentOrder(Integer id) {
		return dao.getPaymentOrder(id);
	}

	@Override
	public void insertPaymentOrder(PaymentOrder paymentOrder) {
		dao.insertPaymentOrder(paymentOrder);
	}

	@Override
	public void updatePaymentOrder(PaymentOrder paymentOrder) {
		dao.updatePaymentOrder(paymentOrder);
	}

}
